import React from 'react'
import * as SRD from 'react-js-diagrams';
import FlowNode from "../../../model/FlowNode"


export class BaseNodeModel extends SRD.NodeModel {
    _flowNode : FlowNode;

    getFlowNode (): FlowNode {
        return this._flowNode
    }

    setFlowNode (flowNode : FlowNode): void {
        this._flowNode = flowNode
    }

    constructor (modelName) {
        super(modelName)
        // this.name = name;
        // this.color = color;
        // this.size = size;
        // if(this.model == null){
        //     this.model={}
        // }
    }

}

